package com.mejlisse.gwt.request;

import com.google.gwt.valuestore.shared.Record;
import org.springframework.roo.addon.gwt.RooGwtMirroredFrom;
import com.mejlisse.server.domain.Comment;
import com.google.gwt.requestfactory.shared.DataTransferObject;
import com.google.gwt.valuestore.shared.Property;

@RooGwtMirroredFrom(Comment.class)
@DataTransferObject(Comment.class)
public interface CommentRecord extends Record {

    public String TOKEN = "CommentRecord";

    Property<java.lang.String> author = new com.google.gwt.valuestore.shared.Property<java.lang.String>("author", "Author", java.lang.String.class);

    Property<java.lang.String> commentText = new com.google.gwt.valuestore.shared.Property<java.lang.String>("commentText", "Comment Text", java.lang.String.class);

    Property<java.lang.String> email = new com.google.gwt.valuestore.shared.Property<java.lang.String>("email", "Email", java.lang.String.class);

    Property<java.lang.Boolean> moderated = new com.google.gwt.valuestore.shared.Property<java.lang.Boolean>("moderated", "Moderated", java.lang.Boolean.class);

    abstract String getAuthor();

    abstract String getCommentText();

    abstract String getEmail();

    abstract Boolean getModerated();

    abstract boolean isChanged();

    abstract void setAuthor(String author);

    abstract void setCommentText(String commentText);

    abstract void setEmail(String email);

    abstract void setModerated(Boolean moderated);
}
